package demo;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.HashMap;
import java.util.Hashtable;

public interface ServerInterface extends Remote {
	public boolean login(Integer number,ClientInterface client) throws RemoteException;
	public void synchronize(HashMap<String,ClientInterface> clients)throws RemoteException;
	public void synchronize(Integer number,ClientInterface client)throws RemoteException;
//	public HashMap<String, ClientInterface> getClients() throws RemoteException; 
	public Hashtable<Integer, ClientInterface> getClients() throws RemoteException;
}
